package StudyCode.summary.mycollection;

import java.util.HashMap;

/**
 * 版权所有 科技与人文(www.tah1986.com)
 */
public class HashMapPutValue {
	public static void main(String[] args) {
		HashMap hMap = new HashMap();
		hMap.put("One", new Integer(1));
		hMap.put("Two", new Integer(2));

		for (Object o : hMap.keySet()) {
			System.out.println(o + " : " + hMap.get(o));
		}
	}
}
